package com.ling.sbbyyds.entity.community;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
//表名
@Table(name = "sbb_community_talk")
@ApiModel(description = "社区话题（话题分类下的全部话题）")
public class CommunityTalk {

    @Id
    @ApiModelProperty("话题id")
    private Long communityTalkId;

    @ApiModelProperty("话题名称")
    private String communityTalkName;

    @ApiModelProperty("社区话题分类id(所属话题分类）")
    private Integer talkTypeId;

    @ApiModelProperty("话题参与数")
    private Long partakeNum;

    @ApiModelProperty("排序 越小越排前面")
    private Integer sort;

}
